<?php

namespace common\models\minisite;

use Yii;

/**
 * This is the model class for table "d_mini.t_activity_show_feel_statistics".
 *
 * @property integer $asf_id
 * @property integer $c_view_times
 * @property integer $c_good_times
 */
class MActivityShowFeelStatistics extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'd_mini.t_activity_show_feel_statistics';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['asf_id'], 'required'],
            [['asf_id', 'c_view_times', 'c_good_times'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'asf_id' => '父id',
            'c_view_times' => '查看次数',
            'c_good_times' => '点赞次数',
        ];
    }

    /**
     * @inheritdoc
     * @return \services\models\minisite\TActivityShowFeelStatisticsQuery the active query used by this AR class.
     */
    public static function find()
    {
        return new \services\models\minisite\TActivityShowFeelStatisticsQuery(get_called_class());
    }
}
